package com.bjbn.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 分页查询产品列表请求DTO
 *
 * @author bjbn
 */
@Schema(description = "分页查询产品列表请求")
@Data
public class IotProductListRequest {

    @Schema(description = "搜索值类型 0.产品名称（前缀匹配）1. 产品ID 3.设备编号/IMEI 4.协议号（protocol）", required = true, example = "3")
    private Integer searchType;

    @Schema(description = "搜索值", required = false, example = "10000003")
    private String searchValue;

    @Schema(description = "当前页", example = "1")
    private Integer pageNow;

    @Schema(description = "页大小", example = "10")
    private Integer pageSize;

    @Schema(description = "API版本", example = "20230119115305")
    private String apiVersion;
} 